﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using grounding.parser.Parsers;

namespace grounding.tests.NBTest
{
    class Program
    {
        static void Main(string[] args)
        {
            NaiveBayesParser parser = new NaiveBayesParser("../../../BayesTrainingFiles");

            Console.WriteLine("Type sentences to parse:");

            string input;
            while ((input = Console.ReadLine().ToLower()) != "exit")
                Console.WriteLine("Parsed input as of category: {0}", parser.Parse(input).Element);
        }
    }
}
